package com.wdb.common.constant;

public interface Constant {
    String Y = "Y";

    String N = "N";

    interface Error {
        String ERROR_KEY = "error";

        String ERROR_JSON = "error.json";

        String ERROR_SERVER = "error.server";

        String ERROR_BUSINESS = "error.business";

        String ERROR_TOKEN_TARGET = "error.token_target";

        String ERROR_MISSING_PARAMETER = "error.missing_parameter";

        String ERROR_METHOD_NOT_ALLOWED = "error.method_not_allowed";

    }

    interface Context {
        String TARGET = "target";

        String SUBJECT = "subject";

        interface Subject {
            Long ADMIN = 1L;// 运营超管

            Long INVOKE = 0L;//  系统内调
        }
    }
}
